package com.jxc.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private Enterprise enterprise;
	private String account;
	private String pwd;
	private String state;
	private String post;
	private String name;
	private String sex;
	private Integer age;
	private String telephone;
	private String email;
	private String address;
	private Integer zipcode;
	private String fax;
	private Set inquiries = new HashSet(0);
	private Set purchases = new HashSet(0);
	private Set orders = new HashSet(0);
	private Set transports = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */
	public User(Enterprise enterprise, String account, String pwd,
			String state, String post, String name, String sex, Integer age,
			String telephone, String email, String address, Integer zipcode,
			String fax, Set inquiries, Set purchases, Set orders, Set transports) {
		this.enterprise = enterprise;
		this.account = account;
		this.pwd = pwd;
		this.state = state;
		this.post = post;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.telephone = telephone;
		this.email = email;
		this.address = address;
		this.zipcode = zipcode;
		this.fax = fax;
		this.inquiries = inquiries;
		this.purchases = purchases;
		this.orders = orders;
		this.transports = transports;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Enterprise getEnterprise() {
		return this.enterprise;
	}

	public void setEnterprise(Enterprise enterprise) {
		this.enterprise = enterprise;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getPost() {
		return this.post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getZipcode() {
		return this.zipcode;
	}

	public void setZipcode(Integer zipcode) {
		this.zipcode = zipcode;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public Set getInquiries() {
		return this.inquiries;
	}

	public void setInquiries(Set inquiries) {
		this.inquiries = inquiries;
	}

	public Set getPurchases() {
		return this.purchases;
	}

	public void setPurchases(Set purchases) {
		this.purchases = purchases;
	}

	public Set getOrders() {
		return this.orders;
	}

	public void setOrders(Set orders) {
		this.orders = orders;
	}

	public Set getTransports() {
		return this.transports;
	}

	public void setTransports(Set transports) {
		this.transports = transports;
	}

}